package com.yaj.myfactorysupport.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author wei
 * @since 2021-05-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("TM_MOUNTER")
@ApiModel(value="TmMounter对象", description="")
public class TmMounter implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "実装機ID")
    @TableId(value = "MOUNTER_ID", type = IdType.AUTO)
    private String mounterId;

    @ApiModelProperty(value = "実装機名")
    @TableField("MOUNTER_NAME")
    private String mounterName;

    @ApiModelProperty(value = "実装機タイプ")
    @TableField("MOUNTER_TYPE")
    private String mounterType;

    @ApiModelProperty(value = "参照旧軸オフセット")
    @TableField("OLD_ROLL_OFFSET")
    private Integer oldRollOffset;

    @ApiModelProperty(value = "ラインID")
    @TableField("LINE_ID")
    private String lineId;

    @ApiModelProperty(value = "実装機並び順")
    @TableField("MOUNTER_SEQ")
    private Integer mounterSeq;

    @ApiModelProperty(value = "有効フラグ")
    @TableField("ACTIVE_FLAG")
    @TableLogic
    private String activeFlag;

    @ApiModelProperty(value = "作成者ID")
    @TableField("CREATED_BY")
    private String createdBy;

    @ApiModelProperty(value = "作成日時")
    @TableField("CREATE_TIMESTAMP")
    private Date createTimestamp;

    @ApiModelProperty(value = "更新者ID")
    @TableField("UPDATED_BY")
    private String updatedBy;

    @ApiModelProperty(value = "更新日時")
    @TableField("UPDATE_TIMESTAMP")
    private Date updateTimestamp;


}
